import Vue from 'vue'

import App from './App.vue'

import '@/styles/reset.less'

import router from '@/router/index.js'

import { Toast, Uploader, Icon, Field, Dialog, Picker, Tab, Tabs, List, PullRefresh, Search } from 'vant'

Vue.use(Toast)
  .use(Uploader)
  .use(Icon)
  .use(Dialog)
  .use(Field)
  .use(Picker)
  .use(Tab)
  .use(Tabs)
  .use(List)
  .use(PullRefresh)
  .use(Search)

Vue.config.productionTip = false

new Vue({
  router,
  render: h => h(App),
}).$mount('#app')
